Optimal. Leaf size=220 \[ -\frac {16 b^2}{15 d^3 \sqrt {c+d x}}-\frac {8 b^{5/2} e^{-2 a+\frac {2 b c}{d}} \sqrt {2 \pi } \text {Erf}\left (\frac {\sqrt {2} \sqrt {b} \sqrt {c+d x}}{\sqrt {d}}\right )}{15 d^{7/2}}+\frac {8 b^{5/2} e^{2 a-\frac {2 b c}{d}} \sqrt {2 \pi } \text {Erfi}\left (\frac {\sqrt {2} \sqrt {b} \sqrt {c+d x}}{\sqrt {d}}\right )}{15 d^{7/2}}-\frac {8 b \cosh (a+b x) \sinh (a+b x)}{15 d^2 (c+d x)^{3/2}}-\frac {2 \sinh ^2(a+b x)}{5 d (c+d x)^{5/2}}-\frac {32 b^2 \sinh ^2(a+b x)}{15 d^3 \sqrt {c+d x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.22, antiderivative size = 220, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 8, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.444, Rules used = {3395, 32, 3394,
12, 3389, 2211, 2235, 2236} \begin {gather*} -\frac {8 \sqrt {2 \pi } b^{5/2} e^{\frac {2 b c}{d}-2 a} \text {Erf}\left (\frac {\sqrt {2} \sqrt {b} \sqrt {c+d x}}{\sqrt {d}}\right )}{15 d^{7/2}}+\frac {8 \sqrt {2 \pi } b^{5/2} e^{2 a-\frac {2 b c}{d}} \text {Erfi}\left (\frac {\sqrt {2} \sqrt {b} \sqrt {c+d x}}{\sqrt {d}}\right )}{15 d^{7/2}}-\frac {32 b^2 \sinh ^2(a+b x)}{15 d^3 \sqrt {c+d x}}-\frac {8 b \sinh (a+b x) \cosh (a+b x)}{15 d^2 (c+d x)^{3/2}}-\frac {2 \sinh ^2(a+b x)}{5 d (c+d x)^{5/2}}-\frac {16 b^2}{15 d^3 \sqrt {c+d x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 32
Rule 2211
Rule 2235
Rule 2236
Rule 3389
Rule 3394
Rule 3395
Rubi steps
\begin {align*} \int \frac {\sinh ^2(a+b x)}{(c+d x)^{7/2}} \, dx &=-\frac {8 b \cosh (a+b x) \sinh (a+b x)}{15 d^2 (c+d x)^{3/2}}-\frac {2 \sinh ^2(a+b x)}{5 d (c+d x)^{5/2}}+\frac {\left (8 b^2\right ) \int \frac {1}{(c+d x)^{3/2}} \, dx}{15 d^2}+\frac {\left (16 b^2\right ) \int \frac {\sinh ^2(a+b x)}{(c+d x)^{3/2}} \, dx}{15 d^2}\\ &=-\frac {16 b^2}{15 d^3 \sqrt {c+d x}}-\frac {8 b \cosh (a+b x) \sinh (a+b x)}{15 d^2 (c+d x)^{3/2}}-\frac {2 \sinh ^2(a+b x)}{5 d (c+d x)^{5/2}}-\frac {32 b^2 \sinh ^2(a+b x)}{15 d^3 \sqrt {c+d x}}-\frac {\left (64 i b^3\right ) \int \frac {i \sinh (2 a+2 b x)}{2 \sqrt {c+d x}} \, dx}{15 d^3}\\ &=-\frac {16 b^2}{15 d^3 \sqrt {c+d x}}-\frac {8 b \cosh (a+b x) \sinh (a+b x)}{15 d^2 (c+d x)^{3/2}}-\frac {2 \sinh ^2(a+b x)}{5 d (c+d x)^{5/2}}-\frac {32 b^2 \sinh ^2(a+b x)}{15 d^3 \sqrt {c+d x}}+\frac {\left (32 b^3\right ) \int \frac {\sinh (2 a+2 b x)}{\sqrt {c+d x}} \, dx}{15 d^3}\\ &=-\frac {16 b^2}{15 d^3 \sqrt {c+d x}}-\frac {8 b \cosh (a+b x) \sinh (a+b x)}{15 d^2 (c+d x)^{3/2}}-\frac {2 \sinh ^2(a+b x)}{5 d (c+d x)^{5/2}}-\frac {32 b^2 \sinh ^2(a+b x)}{15 d^3 \sqrt {c+d x}}+\frac {\left (16 b^3\right ) \int \frac {e^{-i (2 i a+2 i b x)}}{\sqrt {c+d x}} \, dx}{15 d^3}-\frac {\left (16 b^3\right ) \int \frac {e^{i (2 i a+2 i b x)}}{\sqrt {c+d x}} \, dx}{15 d^3}\\ &=-\frac {16 b^2}{15 d^3 \sqrt {c+d x}}-\frac {8 b \cosh (a+b x) \sinh (a+b x)}{15 d^2 (c+d x)^{3/2}}-\frac {2 \sinh ^2(a+b x)}{5 d (c+d x)^{5/2}}-\frac {32 b^2 \sinh ^2(a+b x)}{15 d^3 \sqrt {c+d x}}-\frac {\left (32 b^3\right ) \text {Subst}\left (\int e^{i \left (2 i a-\frac {2 i b c}{d}\right )-\frac {2 b x^2}{d}} \, dx,x,\sqrt {c+d x}\right )}{15 d^4}+\frac {\left (32 b^3\right ) \text {Subst}\left (\int e^{-i \left (2 i a-\frac {2 i b c}{d}\right )+\frac {2 b x^2}{d}} \, dx,x,\sqrt {c+d x}\right )}{15 d^4}\\ &=-\frac {16 b^2}{15 d^3 \sqrt {c+d x}}-\frac {8 b^{5/2} e^{-2 a+\frac {2 b c}{d}} \sqrt {2 \pi } \text {erf}\left (\frac {\sqrt {2} \sqrt {b} \sqrt {c+d x}}{\sqrt {d}}\right )}{15 d^{7/2}}+\frac {8 b^{5/2} e^{2 a-\frac {2 b c}{d}} \sqrt {2 \pi } \text {erfi}\left (\frac {\sqrt {2} \sqrt {b} \sqrt {c+d x}}{\sqrt {d}}\right )}{15 d^{7/2}}-\frac {8 b \cosh (a+b x) \sinh (a+b x)}{15 d^2 (c+d x)^{3/2}}-\frac {2 \sinh ^2(a+b x)}{5 d (c+d x)^{5/2}}-\frac {32 b^2 \sinh ^2(a+b x)}{15 d^3 \sqrt {c+d x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(825\) vs. \(2(220)=440\).
time = 6.08, size = 825, normalized size = 3.75 \begin {gather*} \frac {e^{-\frac {2 b (c+d x)}{d}} \left (6 d^2 e^{\frac {2 b (c+d x)}{d}}-16 b^2 c^2 \cosh \left (2 a-\frac {2 b c}{d}\right )+4 b c d \cosh \left (2 a-\frac {2 b c}{d}\right )-3 d^2 \cosh \left (2 a-\frac {2 b c}{d}\right )-16 b^2 c^2 e^{\frac {4 b (c+d x)}{d}} \cosh \left (2 a-\frac {2 b c}{d}\right )-4 b c d e^{\frac {4 b (c+d x)}{d}} \cosh \left (2 a-\frac {2 b c}{d}\right )-3 d^2 e^{\frac {4 b (c+d x)}{d}} \cosh \left (2 a-\frac {2 b c}{d}\right )-32 b^2 c d x \cosh \left (2 a-\frac {2 b c}{d}\right )+4 b d^2 x \cosh \left (2 a-\frac {2 b c}{d}\right )-32 b^2 c d e^{\frac {4 b (c+d x)}{d}} x \cosh \left (2 a-\frac {2 b c}{d}\right )-4 b d^2 e^{\frac {4 b (c+d x)}{d}} x \cosh \left (2 a-\frac {2 b c}{d}\right )-16 b^2 d^2 x^2 \cosh \left (2 a-\frac {2 b c}{d}\right )-16 b^2 d^2 e^{\frac {4 b (c+d x)}{d}} x^2 \cosh \left (2 a-\frac {2 b c}{d}\right )+16 \sqrt {2} d^2 e^{\frac {2 b (c+d x)}{d}} \left (\frac {b (c+d x)}{d}\right )^{5/2} \Gamma \left (\frac {1}{2},\frac {2 b (c+d x)}{d}\right ) \left (\cosh \left (2 a-\frac {2 b c}{d}\right )-\sinh \left (2 a-\frac {2 b c}{d}\right )\right )+16 b^2 c^2 \sinh \left (2 a-\frac {2 b c}{d}\right )-4 b c d \sinh \left (2 a-\frac {2 b c}{d}\right )+3 d^2 \sinh \left (2 a-\frac {2 b c}{d}\right )-16 b^2 c^2 e^{\frac {4 b (c+d x)}{d}} \sinh \left (2 a-\frac {2 b c}{d}\right )-4 b c d e^{\frac {4 b (c+d x)}{d}} \sinh \left (2 a-\frac {2 b c}{d}\right )-3 d^2 e^{\frac {4 b (c+d x)}{d}} \sinh \left (2 a-\frac {2 b c}{d}\right )+32 b^2 c d x \sinh \left (2 a-\frac {2 b c}{d}\right )-4 b d^2 x \sinh \left (2 a-\frac {2 b c}{d}\right )-32 b^2 c d e^{\frac {4 b (c+d x)}{d}} x \sinh \left (2 a-\frac {2 b c}{d}\right )-4 b d^2 e^{\frac {4 b (c+d x)}{d}} x \sinh \left (2 a-\frac {2 b c}{d}\right )+16 b^2 d^2 x^2 \sinh \left (2 a-\frac {2 b c}{d}\right )-16 b^2 d^2 e^{\frac {4 b (c+d x)}{d}} x^2 \sinh \left (2 a-\frac {2 b c}{d}\right )+16 \sqrt {2} d^2 e^{\frac {2 b (c+d x)}{d}} \left (-\frac {b (c+d x)}{d}\right )^{5/2} \Gamma \left (\frac {1}{2},-\frac {2 b (c+d x)}{d}\right ) \left (\cosh \left (2 a-\frac {2 b c}{d}\right )+\sinh \left (2 a-\frac {2 b c}{d}\right )\right )\right )}{30 d^3 (c+d x)^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 180.00, size = 0, normalized size = 0.00 \[\int \frac {\sinh ^{2}\left (b x +a \right )}{\left (d x +c \right )^{\frac {7}{2}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.33, size = 118, normalized size = 0.54 \begin {gather*} -\frac {\frac {5 \, \sqrt {2} \left (\frac {{\left (d x + c\right )} b}{d}\right )^{\frac {5}{2}} e^{\left (\frac {2 \, {\left (b c - a d\right )}}{d}\right )} \Gamma \left (-\frac {5}{2}, \frac {2 \, {\left (d x + c\right )} b}{d}\right )}{{\left (d x + c\right )}^{\frac {5}{2}}} + \frac {5 \, \sqrt {2} \left (-\frac {{\left (d x + c\right )} b}{d}\right )^{\frac {5}{2}} e^{\left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right )} \Gamma \left (-\frac {5}{2}, -\frac {2 \, {\left (d x + c\right )} b}{d}\right )}{{\left (d x + c\right )}^{\frac {5}{2}}} - \frac {1}{{\left (d x + c\right )}^{\frac {5}{2}}}}{5 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 1352 vs.
\(2 (172) = 344\).
time = 0.46, size = 1352, normalized size = 6.15 \begin {gather*} -\frac {16 \, \sqrt {2} \sqrt {\pi } {\left ({\left (b^{2} d^{3} x^{3} + 3 \, b^{2} c d^{2} x^{2} + 3 \, b^{2} c^{2} d x + b^{2} c^{3}\right )} \cosh \left (b x + a\right )^{2} \cosh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) - {\left (b^{2} d^{3} x^{3} + 3 \, b^{2} c d^{2} x^{2} + 3 \, b^{2} c^{2} d x + b^{2} c^{3}\right )} \cosh \left (b x + a\right )^{2} \sinh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) + {\left ({\left (b^{2} d^{3} x^{3} + 3 \, b^{2} c d^{2} x^{2} + 3 \, b^{2} c^{2} d x + b^{2} c^{3}\right )} \cosh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) - {\left (b^{2} d^{3} x^{3} + 3 \, b^{2} c d^{2} x^{2} + 3 \, b^{2} c^{2} d x + b^{2} c^{3}\right )} \sinh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right )\right )} \sinh \left (b x + a\right )^{2} + 2 \, {\left ({\left (b^{2} d^{3} x^{3} + 3 \, b^{2} c d^{2} x^{2} + 3 \, b^{2} c^{2} d x + b^{2} c^{3}\right )} \cosh \left (b x + a\right ) \cosh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) - {\left (b^{2} d^{3} x^{3} + 3 \, b^{2} c d^{2} x^{2} + 3 \, b^{2} c^{2} d x + b^{2} c^{3}\right )} \cosh \left (b x + a\right ) \sinh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right )\right )} \sinh \left (b x + a\right )\right )} \sqrt {\frac {b}{d}} \operatorname {erf}\left (\sqrt {2} \sqrt {d x + c} \sqrt {\frac {b}{d}}\right ) + 16 \, \sqrt {2} \sqrt {\pi } {\left ({\left (b^{2} d^{3} x^{3} + 3 \, b^{2} c d^{2} x^{2} + 3 \, b^{2} c^{2} d x + b^{2} c^{3}\right )} \cosh \left (b x + a\right )^{2} \cosh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) + {\left (b^{2} d^{3} x^{3} + 3 \, b^{2} c d^{2} x^{2} + 3 \, b^{2} c^{2} d x + b^{2} c^{3}\right )} \cosh \left (b x + a\right )^{2} \sinh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) + {\left ({\left (b^{2} d^{3} x^{3} + 3 \, b^{2} c d^{2} x^{2} + 3 \, b^{2} c^{2} d x + b^{2} c^{3}\right )} \cosh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) + {\left (b^{2} d^{3} x^{3} + 3 \, b^{2} c d^{2} x^{2} + 3 \, b^{2} c^{2} d x + b^{2} c^{3}\right )} \sinh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right )\right )} \sinh \left (b x + a\right )^{2} + 2 \, {\left ({\left (b^{2} d^{3} x^{3} + 3 \, b^{2} c d^{2} x^{2} + 3 \, b^{2} c^{2} d x + b^{2} c^{3}\right )} \cosh \left (b x + a\right ) \cosh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) + {\left (b^{2} d^{3} x^{3} + 3 \, b^{2} c d^{2} x^{2} + 3 \, b^{2} c^{2} d x + b^{2} c^{3}\right )} \cosh \left (b x + a\right ) \sinh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right )\right )} \sinh \left (b x + a\right )\right )} \sqrt {-\frac {b}{d}} \operatorname {erf}\left (\sqrt {2} \sqrt {d x + c} \sqrt {-\frac {b}{d}}\right ) + {\left (16 \, b^{2} d^{2} x^{2} + {\left (16 \, b^{2} d^{2} x^{2} + 16 \, b^{2} c^{2} + 4 \, b c d + 3 \, d^{2} + 4 \, {\left (8 \, b^{2} c d + b d^{2}\right )} x\right )} \cosh \left (b x + a\right )^{4} + 4 \, {\left (16 \, b^{2} d^{2} x^{2} + 16 \, b^{2} c^{2} + 4 \, b c d + 3 \, d^{2} + 4 \, {\left (8 \, b^{2} c d + b d^{2}\right )} x\right )} \cosh \left (b x + a\right ) \sinh \left (b x + a\right )^{3} + {\left (16 \, b^{2} d^{2} x^{2} + 16 \, b^{2} c^{2} + 4 \, b c d + 3 \, d^{2} + 4 \, {\left (8 \, b^{2} c d + b d^{2}\right )} x\right )} \sinh \left (b x + a\right )^{4} + 16 \, b^{2} c^{2} - 6 \, d^{2} \cosh \left (b x + a\right )^{2} - 4 \, b c d + 6 \, {\left ({\left (16 \, b^{2} d^{2} x^{2} + 16 \, b^{2} c^{2} + 4 \, b c d + 3 \, d^{2} + 4 \, {\left (8 \, b^{2} c d + b d^{2}\right )} x\right )} \cosh \left (b x + a\right )^{2} - d^{2}\right )} \sinh \left (b x + a\right )^{2} + 3 \, d^{2} + 4 \, {\left (8 \, b^{2} c d - b d^{2}\right )} x + 4 \, {\left ({\left (16 \, b^{2} d^{2} x^{2} + 16 \, b^{2} c^{2} + 4 \, b c d + 3 \, d^{2} + 4 \, {\left (8 \, b^{2} c d + b d^{2}\right )} x\right )} \cosh \left (b x + a\right )^{3} - 3 \, d^{2} \cosh \left (b x + a\right )\right )} \sinh \left (b x + a\right )\right )} \sqrt {d x + c}}{30 \, {\left ({\left (d^{6} x^{3} + 3 \, c d^{5} x^{2} + 3 \, c^{2} d^{4} x + c^{3} d^{3}\right )} \cosh \left (b x + a\right )^{2} + 2 \, {\left (d^{6} x^{3} + 3 \, c d^{5} x^{2} + 3 \, c^{2} d^{4} x + c^{3} d^{3}\right )} \cosh \left (b x + a\right ) \sinh \left (b x + a\right ) + {\left (d^{6} x^{3} + 3 \, c d^{5} x^{2} + 3 \, c^{2} d^{4} x + c^{3} d^{3}\right )} \sinh \left (b x + a\right )^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sinh ^{2}{\left (a + b x \right )}}{\left (c + d x\right )^{\frac {7}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\mathrm {sinh}\left (a+b\,x\right )}^2}{{\left (c+d\,x\right )}^{7/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________